
      <td>
        <?php echo $creditMemo->getCreditDate()?>
      </td>
      <td>
        <?php 
          $link_id = 'credit_memo_link_'.$creditMemo->getCreditIden();
          echo link_to($creditMemo->getCreditId(),'creditMemo/edit?credit_iden='.$creditMemo->getCreditIden(),array('id'=>$link_id,))
        ?>
         <script language="javascript">
          $(document).ready(
            function(){
              $('#<?php echo $link_id?>').click(
                function(e){
                  $.get(
                    this.href,
                    {},
                    function(content){
                      $('#creditMemoPanel').show().html(content);
                      $('#creditMemoSearchGrid').hide();
                      $('#creditMemoShowGrid').show();
                    }
                  );
                  e.preventDefault();
                }
              );
            }
          );
        </script>        
      </td>
      <td>
        <?php echo $creditMemo->getInvoiceId()?>
      </td>
      <td>
        <?php echo $creditMemo->getListName()?>
      </td>
      <td style="text-align:right;">
        <?php echo number_format($creditMemo->getAmount(),2)?>
      </td>
      <td>
        <?php echo $creditMemo->getDocument()->getVoid()?>
      </td>
      <td>
      </td>